<!DOCTYPE html>
<html lang="en">
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<!-- <meta name="viewport" content="target-densitydpi=device-dpi,width=750,user-scalable=no" /> -->
	<meta name="viewport" content="width=device-width,initial-scale=1,user-scalable=no" />
	<title>小视频</title>
	<meta http-equiv="cleartype" content="on">
	<meta name="apple-mobile-web-app-title" content="...">
	<meta name="apple-mobile-web-app-capable" content="yes">
	<meta name="format-detection" content="telephone=no">
	<meta http-equiv="x-rim-auto-match" content="none">
	<meta name="apple-touch-fullscreen" content="yes">
	<meta name="apple-mobile-web-app-status-bar-style" content="black">
	<!-- windows phone 点击无高光 -->
	<meta name="msapplication-tap-highlight" content="no">
	<link rel="stylesheet" type="text/css" href="/js/mobile2/lib/idangerous.swiper.css" />
	<link rel="stylesheet" type="text/css" href="/css/base2.css?" />

	<script type="text/javascript" src="/js/mobile2/lib/jquery-1.10.1.min.js"></script>
</head>
<body>
<div class="main">
	<!-- top -->
	<span class="itop">
			<span class="icon itop-logo"></span>
			<a href="/search2" class="icon itop-search"
		></a>
			<a href="/usercenter2" class="icon itop-user"></a>
			<span class="itop-down" onclick="DwonApp()">下载APP</span>
		</span>
	<div class="ibot-box">
		<div class="ibot-layer"></div>
		<span class="ibot ibot_img" onclick="javascript: window.location = '/showapi';">
				<span class="icon itop-close"></span>
				<img src="./images/API.png" width="750">
			</span>
	</div>


	<!-- ibottom -->


	<div class="swiper-tabs">
			<span class="s-tab active" data-type="advise">
				<a href="" class="s-tab-t">推荐</a>
			</span>
		<span class="s-tab" data-type="special">
				<a href="" class="s-tab-t">专题</a>
			</span>
	</div>
	<!-- 推荐 和 专题 -->
	<div class="content-slide-box">
		<div class="content-slide advise-slide">
			<!-- banner -->
			<div class="swiper-container banner">
				<div class="swiper-wrapper" id="div_banner">
					<div class="swiper-slide">
							<span class="banner-a">
								<img src="" />
								<a class="evaluate">影评</a>
							</span>
					</div>
					<div class="swiper-slide">
						<a href="" class="banner-a">2</a>
					</div>
					<div class="swiper-slide">
						<a href="" class="banner-a">3</a>
					</div>
					<div class="swiper-slide">
						<a href="" class="banner-a">4</a>
					</div>
				</div>
			</div>
			<!-- moves -->
			<div class="moves-box">
				<!-- 影片推荐 -->
				<div class="move-list">
					<div class="move-title">
						<span class="mt-name">影片推荐</span>
						<a href="/type?typeid=" class="mt-counts">查看全部<i class="icon counts-tag"></i></a>
					</div>
					<div class="move-c" id="div_tuijian">

					</div>
				</div>
				<!-- 精选专题 -->
				<div class="move-list">
					<div class="move-title">
						<span class="mt-name">精选专题</span>
						<a href="javascript:$('.s-tab').trigger('touchstart')" class="mt-counts">
							全部
							<i class="icon counts-tag"></i>
						</a>
					</div>
					<div class="move-c">
						<div class="swiper-container swiper-select">
							<div class="swiper-wrapper">
								<div class="swiper-slide classify-slide" id="div_subject">

								</div>
							</div>
						</div>
					</div>
				</div>
				<!-- 近期热播 -->
				<div class="move-list">
					<div class="move-title">
						<span class="mt-name">近期热播</span>
					</div>
					<div class="move-c" id="div_item_hotcontent">

					</div>
				</div>
				<!-- 影片分类 -->
				<div class="move-types">
					<a href="/type?typeid=0" class="mt-list">
						<img src="images/8.jpg" />
						<!--<div class="mt-layer layer1"></div>-->
						<!--<div class="mt-layer layer2">-->
								<!--<span class="type-name">-->
									<!--喜剧-->
								<!--</span>-->
						<!--</div>-->
					</a>
					<a href="/type?typeid=1" class="mt-list">
						<img src="images/1.jpg" />
						<!--<div class="mt-layer layer1"></div>-->
						<!--<div class="mt-layer layer2">-->
								<!--<span class="type-name">-->
									<!--爱情-->
								<!--</span>-->
						<!--</div>-->
					</a>
					<a href="/type?typeid=15" class="mt-list">
						<img src="images/4.jpg" />
						<!--<div class="mt-layer layer1"></div>-->
						<!--<div class="mt-layer layer2">-->
								<!--<span class="type-name">-->
									<!--家庭-->
								<!--</span>-->
						<!--</div>-->
					</a>
					<a href="/type?typeid=6" class="mt-list">
						<img src="images/3.jpg" />
						<!--<div class="mt-layer layer1"></div>-->
						<!--<div class="mt-layer layer2">-->
								<!--<span class="type-name">-->
									<!--犯罪-->
								<!--</span>-->
						<!--</div>-->
					</a>
					<a href="/type?typeid=5" class="mt-list">
						<img src="images/6.jpg" />
						<!--<div class="mt-layer layer1"></div>-->
						<!--<div class="mt-layer layer2">-->
								<!--<span class="type-name">-->
									<!--剧情-->
								<!--</span>-->
						<!--</div>-->
					</a>
					<a href="/type?typeid=2" class="mt-list">
						<img src="images/2.jpg" />
						<!--<div class="mt-layer layer1"></div>-->
						<!--<div class="mt-layer layer2">-->
								<!--<span class="type-name">-->
									<!--动作-->
								<!--</span>-->
						<!--</div>-->
					</a>
					<a href="/type?typeid=17" class="mt-list">
						<img src="images/5.jpg" />
						<!--<div class="mt-layer layer1"></div>-->
						<!--<div class="mt-layer layer2">-->
								<!--<span class="type-name">-->
									<!--恐怖-->
								<!--</span>-->
						<!--</div>-->
					</a>
					<a href="/type?typeid=" class="mt-list">
						<img src="images/7.jpg" />
						<!--<div class="mt-layer layer1"></div>-->
						<!--<div class="mt-layer layer2">-->
								<!--<span class="type-name">-->
									<!--全部-->
								<!--</span>-->
						<!--</div>-->
					</a>
				</div>
			</div>
		</div>
		<div class="content-slide special-slide" style="display: none;" id="div_subjectall">
			<!-- 专题列表 -->
			<a href="" class="special-list">
				<img src="images/type.jpg" />
				<div class="mt-layer layer1"></div>
				<div class="mt-layer layer2">
						<span class="type-name">
							奥斯卡提名团队作品
						</span>
					<div class="type-ind">共<i>5</i>部影片</div>
				</div>
			</a>
			<a href="" class="special-list">
				<img src="images/type.jpg" />
				<div class="mt-layer layer1"></div>
				<div class="mt-layer layer2">
						<span class="type-name">
							聚好看——高颜值大片
						</span>
					<div class="type-ind">共<i>5</i>部影片</div>
				</div>
			</a>
			<a href="" class="special-list">
				<img src="images/type.jpg" />
				<div class="mt-layer layer1"></div>
				<div class="mt-layer layer2">
						<span class="type-name">
							大厂牌&大师作品
						</span>
					<div class="type-ind">共<i>5</i>部影片</div>
				</div>
			</a>
			<a href="" class="special-list">
				<img src="images/type.jpg" />
				<div class="mt-layer layer1"></div>
				<div class="mt-layer layer2">
						<span class="type-name">
							适合18岁以上人群观看作品
						</span>
					<div class="type-ind">共<i>5</i>部影片</div>
				</div>
			</a>
			<a href="" class="special-list">
				<img src="images/type.jpg" />
				<div class="mt-layer layer1"></div>
				<div class="mt-layer layer2">
						<span class="type-name">
							各大电影节获奖及展映作品
						</span>
					<div class="type-ind">共<i>5</i>部影片</div>
				</div>
			</a>
			<a href="" class="special-list">
				<img src="images/type.jpg" />
				<div class="mt-layer layer1"></div>
				<div class="mt-layer layer2">
						<span class="type-name">
							IMDB&豆瓣高分电影
						</span>
					<div class="type-ind">共<i>5</i>部影片</div>
				</div>
			</a>
			<a href="" class="special-list">
				<img src="images/type.jpg" />
				<div class="mt-layer layer1"></div>
				<div class="mt-layer layer2">
						<span class="type-name">
							私人电影院
						</span>
					<div class="type-ind">共<i>5</i>部影片</div>
				</div>
			</a>
		</div>
	</div>
	<div class="loading-finish"></div>
	<!-- come back top -->
	<div class="icon c-top">

	</div>



</div>
<script type='text/javascript' src='/js/mobile2/js/mobilecom.js' charset='utf-8'></script>
<script type="text/javascript" src="/js/mobile2/lib/idangerous.swiper.min.js"></script>
<script type="text/javascript">
    $(function(){

        (function (doc, win) {

            var docEl = doc.documentElement,
                resizeEvt = 'orientationchange' in window ? 'orientationchange' : 'resize';
            var clientWidth = '',newWidth = '';
            recalc = function () {

                newWidth = $(window).width();

                if(newWidth === clientWidth) return false;

                clientWidth = newWidth;

                docEl.style.fontSize = 100 * (clientWidth / 750) + 'px';

                setTimeout(function(){

                    var _num = $(".classify-list").length,_width = $(".classify-list").width(),_sWidth = _width*_num + 11*_num;

                    if(_sWidth < clientWidth){

                        _sWidth = clientWidth;
                    }

                    $(".classify-slide").width(_sWidth + "px");

                    new Swiper(".swiper-select",{

                        scrollContainer: true
                    })

                }, 65)

            };

            if (!doc.addEventListener) return;

            win.addEventListener(resizeEvt, recalc, false);

            recalc();

        })(document, window);

        // 推荐 和 专题 列表 进行切换

        $(".s-tab").on("touchstart",function(e){

            e.preventDefault();

            if($(this).hasClass("active")) return false;

            $(this).addClass("active").siblings().removeClass("active");

            var _type = $(this).attr("data-type"),_className = "."+_type+"-slide";

            if(!_type) return false;

            $(_className).siblings().hide();

            $(_className).fadeIn();

            return false;

        })


    })
    //$(".ibot-box").hide();
            LoadBanner();
            LoadHotVidoe();
            LoadTuijianVidoe();

    function LoadTuijianVidoe() {
        //
        $('#div_tuijian').html('');
        $.ajax({
            type: 'get',
            url: '/api/film/getfilmtypslist?filmtypestr=0,2,4&count=3',
            dataType: 'json',
            success: function(data){
                if(mortise_layout.ValidataResult(data)){
                    //{"code":"OperateOk","errorMsg":"","result":{"list":[{"fId":"594cabc05bc42d07a0aa541a","fName":"一个钓鱼的故事","fFilmtype":"1000010100000000000","fYear":2016,"fCountry":12,"fKeyword":"一个钓鱼的故事","fPhoto":"http://119.10.70.142:9080/Images/upload/videoPhoto/595a87fe37ca1d108069af15.png","fPhotow":"http://101.201.122.79:8083/Images/upload/videoPhoto/596adca774c36b070e69ec8e.jpg","fDirector":"Matt Birman","fPerformer":"Eddie McClintock, Jayne Heitmeyer, Jordyn Negri ","fShowtime":"2016-12-12","fScore":0.0,"fPricetagid":"0","fPricetagname":"免费电影","fIntime":"2017-06-23 14:20:23","fShow":1,"fLookct":0,"fMakelookct":11,"fGoodct":0,"fMakegoodct":12,"fCollect":2,"fMakecollect":13,"fPlayct":132,"fMakepalyct":15,"fSharect":0,"fMakesharect":null,"fBuyct":0,"fCommentct":22,"fSourceurl":null,"fCountryname":"加拿大","fFilmtypename":"喜剧/剧情/奇幻","fImpression":"印象"},{"fId":"5930e4cd1c886e2dc0d45342","fName":"末世迷踪：下一代","fFilmtype":"0000000100000000000","fYear":2016,"fCountry":4,"fKeyword":"末世迷踪：下一代","fPhoto":"http://119.10.70.142:9080/Images/upload/videoPhoto/595a88f137ca1d108069af17.png","fPhotow":"http://101.201.122.79:8083/Images/upload/videoPhoto/596adcc774c36b070e69ec90.jpg","fDirector":"Larry A. McLean","fPerformer":" Amber Frank, Mason Dye, Dylan Sprayberry","fShowtime":"2017-06-02","fScore":0.0,"fPricetagid":"0","fPricetagname":"免费电影","fIntime":"2017-06-02 12:08:34","fShow":1,"fLookct":1,"fMakelookct":15,"fGoodct":2,"fMakegoodct":25,"fCollect":2,"fMakecollect":0,"fPlayct":17,"fMakepalyct":5,"fSharect":1,"fMakesharect":null,"fBuyct":0,"fCommentct":4,"fSourceurl":null,"fCountryname":"美国","fFilmtypename":"奇幻","fImpression":null},{"fId":"594c95065bc42d07a03f1fac","fName":"大婴儿","fFilmtype":"1100010000000000000","fYear":2015,"fCountry":4,"fKeyword":"大婴儿","fPhoto":"http://119.10.70.142:9080/Images/upload/videoPhoto/595a887337ca1d108069af16.png","fPhotow":"http://101.201.122.79:8083/Images/upload/videoPhoto/596adcb874c36b070e69ec8f.jpg","fDirector":"Stephen Langford","fPerformer":"Maureen McCormick, Andrew Lawrence, Ken Davitian","fShowtime":"2015-12-12","fScore":0.0,"fPricetagid":"1","fPricetagname":"2元电影","fIntime":"2017-06-23 12:43:35","fShow":1,"fLookct":0,"fMakelookct":11,"fGoodct":0,"fMakegoodct":12,"fCollect":1,"fMakecollect":13,"fPlayct":11,"fMakepalyct":15,"fSharect":0,"fMakesharect":null,"fBuyct":0,"fCommentct":4,"fSourceurl":null,"fCountryname":"美国","fFilmtypename":"喜剧/爱情/剧情","fImpression":"印象"},{"fId":"594cacc75bc42d07a0aa541b","fName":"正义","fFilmtype":"1100000000000000000","fYear":2016,"fCountry":4,"fKeyword":"正义","fPhoto":"http://119.10.70.142:9080/Images/upload/videoPhoto/595a87a137ca1d108069af14.png","fPhotow":"http://101.201.122.79:8083/Images/upload/videoPhoto/596adc9d74c36b070e69ec8d.jpg","fDirector":"Richard Gabai","fPerformer":" Stephen Lang, Jackson Rathbone, Jamie-Lynn Sigler ","fShowtime":"2016-12-12","fScore":0.0,"fPricetagid":"0","fPricetagname":"免费电影","fIntime":"2017-06-23 14:24:45","fShow":1,"fLookct":0,"fMakelookct":11,"fGoodct":0,"fMakegoodct":12,"fCollect":0,"fMakecollect":13,"fPlayct":4,"fMakepalyct":15,"fSharect":0,"fMakesharect":null,"fBuyct":0,"fCommentct":0,"fSourceurl":null,"fCountryname":"美国","fFilmtypename":"喜剧/爱情","fImpression":"印象"}]},"allcount":0}
                    var videoList=data.result;

                    if(videoList){
                        var _html='';
                        $.each(videoList,function (key,item) {
//                                _html+='	<div class="m-title">';
//                                _html+='<i class="m-type">'+GetVideoTypeNameList(key)+'</i>';
//                                _html+='<i class="m-more" onclick="ClickType(\''+key+'\')">查看更多></i>';
//                                _html+='</div>';

                            //内容循环
                            if(item&& item.length>0){
                                var _rowHtml='';
                                $.each(item,function (index,item1){
                                    _html+='<span class="mc-list"  onclick="GoToVideoInfo(\''+item1.fId+'\')">'+
                                        '<div class="mc-img">'+
                                        '<img  src="'+item1.fPhoto+'">'+
                                        '<i class="mc-source">'+item1.fScore+'</i>'+
                                        '</div>'+
                                        ' <div class="mc-name">'+item1.fName+'</div>'+
                                        ' </span>';
                                });
                                //_html+='<div class="m-box" ><div class="list-box">'+_rowHtml+'</div></div>';
                            }

                        });

                        $('#div_tuijian').html(_html);
                    }

                }
            }
        });
    }
    //加载banner
    function LoadBanner() {
        $.ajax({
            type: 'get',
            url: '/api/film/getByPlayctfilmlist?limit=4',
            dataType: 'json',
            success: function(data){
                if(mortise_layout.ValidataResult(data)){
                    //{"code":"OperateOk","errorMsg":"","result":{"list":[{"fId":"594cabc05bc42d07a0aa541a","fName":"一个钓鱼的故事","fFilmtype":"1000010100000000000","fYear":2016,"fCountry":12,"fKeyword":"一个钓鱼的故事","fPhoto":"http://119.10.70.142:9080/Images/upload/videoPhoto/595a87fe37ca1d108069af15.png","fPhotow":"http://101.201.122.79:8083/Images/upload/videoPhoto/596adca774c36b070e69ec8e.jpg","fDirector":"Matt Birman","fPerformer":"Eddie McClintock, Jayne Heitmeyer, Jordyn Negri ","fShowtime":"2016-12-12","fScore":0.0,"fPricetagid":"0","fPricetagname":"免费电影","fIntime":"2017-06-23 14:20:23","fShow":1,"fLookct":0,"fMakelookct":11,"fGoodct":0,"fMakegoodct":12,"fCollect":2,"fMakecollect":13,"fPlayct":132,"fMakepalyct":15,"fSharect":0,"fMakesharect":null,"fBuyct":0,"fCommentct":22,"fSourceurl":null,"fCountryname":"加拿大","fFilmtypename":"喜剧/剧情/奇幻","fImpression":"印象"},{"fId":"5930e4cd1c886e2dc0d45342","fName":"末世迷踪：下一代","fFilmtype":"0000000100000000000","fYear":2016,"fCountry":4,"fKeyword":"末世迷踪：下一代","fPhoto":"http://119.10.70.142:9080/Images/upload/videoPhoto/595a88f137ca1d108069af17.png","fPhotow":"http://101.201.122.79:8083/Images/upload/videoPhoto/596adcc774c36b070e69ec90.jpg","fDirector":"Larry A. McLean","fPerformer":" Amber Frank, Mason Dye, Dylan Sprayberry","fShowtime":"2017-06-02","fScore":0.0,"fPricetagid":"0","fPricetagname":"免费电影","fIntime":"2017-06-02 12:08:34","fShow":1,"fLookct":1,"fMakelookct":15,"fGoodct":2,"fMakegoodct":25,"fCollect":2,"fMakecollect":0,"fPlayct":17,"fMakepalyct":5,"fSharect":1,"fMakesharect":null,"fBuyct":0,"fCommentct":4,"fSourceurl":null,"fCountryname":"美国","fFilmtypename":"奇幻","fImpression":null},{"fId":"594c95065bc42d07a03f1fac","fName":"大婴儿","fFilmtype":"1100010000000000000","fYear":2015,"fCountry":4,"fKeyword":"大婴儿","fPhoto":"http://119.10.70.142:9080/Images/upload/videoPhoto/595a887337ca1d108069af16.png","fPhotow":"http://101.201.122.79:8083/Images/upload/videoPhoto/596adcb874c36b070e69ec8f.jpg","fDirector":"Stephen Langford","fPerformer":"Maureen McCormick, Andrew Lawrence, Ken Davitian","fShowtime":"2015-12-12","fScore":0.0,"fPricetagid":"1","fPricetagname":"2元电影","fIntime":"2017-06-23 12:43:35","fShow":1,"fLookct":0,"fMakelookct":11,"fGoodct":0,"fMakegoodct":12,"fCollect":1,"fMakecollect":13,"fPlayct":11,"fMakepalyct":15,"fSharect":0,"fMakesharect":null,"fBuyct":0,"fCommentct":4,"fSourceurl":null,"fCountryname":"美国","fFilmtypename":"喜剧/爱情/剧情","fImpression":"印象"},{"fId":"594cacc75bc42d07a0aa541b","fName":"正义","fFilmtype":"1100000000000000000","fYear":2016,"fCountry":4,"fKeyword":"正义","fPhoto":"http://119.10.70.142:9080/Images/upload/videoPhoto/595a87a137ca1d108069af14.png","fPhotow":"http://101.201.122.79:8083/Images/upload/videoPhoto/596adc9d74c36b070e69ec8d.jpg","fDirector":"Richard Gabai","fPerformer":" Stephen Lang, Jackson Rathbone, Jamie-Lynn Sigler ","fShowtime":"2016-12-12","fScore":0.0,"fPricetagid":"0","fPricetagname":"免费电影","fIntime":"2017-06-23 14:24:45","fShow":1,"fLookct":0,"fMakelookct":11,"fGoodct":0,"fMakegoodct":12,"fCollect":0,"fMakecollect":13,"fPlayct":4,"fMakepalyct":15,"fSharect":0,"fMakesharect":null,"fBuyct":0,"fCommentct":0,"fSourceurl":null,"fCountryname":"美国","fFilmtypename":"喜剧/爱情","fImpression":"印象"}]},"allcount":0}
                    var videoList=data.result.list;
                    if(videoList&& videoList.length>0){
                        var _html='';

                        $.each(videoList,function (index,item) {

//
                            _html+='<div class="swiper-slide"' +
								' onclick="GoToVideoInfo(\''+item.fId+'\')">'+
                                '<span class="banner-a">'+
                                '<img src="'+item.fPhotow+'" />'+
                                '<a class="evaluate">'+index+'</a>'+
                                '</span>'+
                                '</div>';
                        });

                          $('#div_banner').html(_html);


                          setTimeout(function () {
                              var banner = new Swiper(".banner",{
                                  loop: true,
                                  speend: 800,
                                  autoPlay: 2000
                              })
                          },100)
                        
//                            new Swiper(".swiper1",{
//                                loop: true,
//                                speed: 1500,
//                                pagination: ".pagination",
//                                autoplay: 2000
//                            });
//                            $("#div_banner").slider({
//                                "autoScroll": true,
//                                "infinite": true
//                            });
                    }

                }
            }
        });
    }
    //加载热播
    function LoadHotVidoe() {
        $.ajax({
            type: 'get',
            url: '/api/film/getnewsvideolist?filmcount=6&shortvideoct=0',
            dataType: 'json',
            success: function(data){
                if(mortise_layout.ValidataResult(data)){
                    //{"code":"OperateOk","errorMsg":"","result":{"list":[{"fId":"594cabc05bc42d07a0aa541a","fName":"一个钓鱼的故事","fFilmtype":"1000010100000000000","fYear":2016,"fCountry":12,"fKeyword":"一个钓鱼的故事","fPhoto":"http://119.10.70.142:9080/Images/upload/videoPhoto/595a87fe37ca1d108069af15.png","fPhotow":"http://101.201.122.79:8083/Images/upload/videoPhoto/596adca774c36b070e69ec8e.jpg","fDirector":"Matt Birman","fPerformer":"Eddie McClintock, Jayne Heitmeyer, Jordyn Negri ","fShowtime":"2016-12-12","fScore":0.0,"fPricetagid":"0","fPricetagname":"免费电影","fIntime":"2017-06-23 14:20:23","fShow":1,"fLookct":0,"fMakelookct":11,"fGoodct":0,"fMakegoodct":12,"fCollect":2,"fMakecollect":13,"fPlayct":132,"fMakepalyct":15,"fSharect":0,"fMakesharect":null,"fBuyct":0,"fCommentct":22,"fSourceurl":null,"fCountryname":"加拿大","fFilmtypename":"喜剧/剧情/奇幻","fImpression":"印象"},{"fId":"5930e4cd1c886e2dc0d45342","fName":"末世迷踪：下一代","fFilmtype":"0000000100000000000","fYear":2016,"fCountry":4,"fKeyword":"末世迷踪：下一代","fPhoto":"http://119.10.70.142:9080/Images/upload/videoPhoto/595a88f137ca1d108069af17.png","fPhotow":"http://101.201.122.79:8083/Images/upload/videoPhoto/596adcc774c36b070e69ec90.jpg","fDirector":"Larry A. McLean","fPerformer":" Amber Frank, Mason Dye, Dylan Sprayberry","fShowtime":"2017-06-02","fScore":0.0,"fPricetagid":"0","fPricetagname":"免费电影","fIntime":"2017-06-02 12:08:34","fShow":1,"fLookct":1,"fMakelookct":15,"fGoodct":2,"fMakegoodct":25,"fCollect":2,"fMakecollect":0,"fPlayct":17,"fMakepalyct":5,"fSharect":1,"fMakesharect":null,"fBuyct":0,"fCommentct":4,"fSourceurl":null,"fCountryname":"美国","fFilmtypename":"奇幻","fImpression":null},{"fId":"594c95065bc42d07a03f1fac","fName":"大婴儿","fFilmtype":"1100010000000000000","fYear":2015,"fCountry":4,"fKeyword":"大婴儿","fPhoto":"http://119.10.70.142:9080/Images/upload/videoPhoto/595a887337ca1d108069af16.png","fPhotow":"http://101.201.122.79:8083/Images/upload/videoPhoto/596adcb874c36b070e69ec8f.jpg","fDirector":"Stephen Langford","fPerformer":"Maureen McCormick, Andrew Lawrence, Ken Davitian","fShowtime":"2015-12-12","fScore":0.0,"fPricetagid":"1","fPricetagname":"2元电影","fIntime":"2017-06-23 12:43:35","fShow":1,"fLookct":0,"fMakelookct":11,"fGoodct":0,"fMakegoodct":12,"fCollect":1,"fMakecollect":13,"fPlayct":11,"fMakepalyct":15,"fSharect":0,"fMakesharect":null,"fBuyct":0,"fCommentct":4,"fSourceurl":null,"fCountryname":"美国","fFilmtypename":"喜剧/爱情/剧情","fImpression":"印象"},{"fId":"594cacc75bc42d07a0aa541b","fName":"正义","fFilmtype":"1100000000000000000","fYear":2016,"fCountry":4,"fKeyword":"正义","fPhoto":"http://119.10.70.142:9080/Images/upload/videoPhoto/595a87a137ca1d108069af14.png","fPhotow":"http://101.201.122.79:8083/Images/upload/videoPhoto/596adc9d74c36b070e69ec8d.jpg","fDirector":"Richard Gabai","fPerformer":" Stephen Lang, Jackson Rathbone, Jamie-Lynn Sigler ","fShowtime":"2016-12-12","fScore":0.0,"fPricetagid":"0","fPricetagname":"免费电影","fIntime":"2017-06-23 14:24:45","fShow":1,"fLookct":0,"fMakelookct":11,"fGoodct":0,"fMakegoodct":12,"fCollect":0,"fMakecollect":13,"fPlayct":4,"fMakepalyct":15,"fSharect":0,"fMakesharect":null,"fBuyct":0,"fCommentct":0,"fSourceurl":null,"fCountryname":"美国","fFilmtypename":"喜剧/爱情","fImpression":"印象"}]},"allcount":0}
                    var videoList=data.result.filmlist;
                    if(videoList&& videoList.length>0){
                        var _html='';
                        $.each(videoList,function (index,item) {

                            _html+='<span class="mc-list"  onclick="GoToVideoInfo(\''+item.fId+'\')">'+
                                '<div class="mc-img">'+
                                '<img  src="'+item.fPhoto+'">'+
                                '<i class="mc-source">'+item.fScore+'</i>'+
                                '</div>'+
                                ' <div class="mc-name">'+item.fName+'</div>'+
                                ' </span>';
                        });
                        $('#div_item_hotcontent').html(_html);
                    }

                }
            }
        });
    }
    LoadSubject();
    function LoadSubject() {
        $.ajax({
            type: 'get',
            url: '/api/subject/subjecttypelist?type=1',
            dataType: 'json',
            success: function(data){
                if(mortise_layout.ValidataResult(data)){
                    var videoList=data.result;
                    if(videoList&& videoList.length>0){
                        var _html='';
                        $.each(videoList,function (index,item) {

                            _html+='<a href="/zhuanti?subjectid='+item.fId+'" class="classify-list">'+
                                '<img src="'+item.fPhoto+'" />'+
                                '    <div class="mt-layer layer1"></div>'+
                                '   <div class="mt-layer layer2">'+
                                '    <span class="type-name">'+
                                item.fTitle+
                                '   </span>'+
                                '   </div>'+
                                '   </a>';
                        });
                        $('#div_subject').html(_html);
                    }

                }
            }
        });
    }

    LoadallSubject();

    function LoadallSubject() {
        $.ajax({
            type: 'get',
            url: '/api/subject/subjectalllist',
            dataType: 'json',
            success: function(data){
                if(mortise_layout.ValidataResult(data)){
                    var videoList=data.result;
                    if(videoList&& videoList.length>0){
                        var _html='';
                        $.each(videoList,function (index,item) {

                            _html+='<a href="/zhuanti?subjectid='+item.fId+'" class="special-list">'+
                            '<img src="'+item.fPhoto+'" />'+
                            '<div class="mt-layer layer1"></div>'+
                            '<div class="mt-layer layer2">'+
                            ' <span class="type-name">'+
                                item.fTitle+
                            '  </span>'+
                            ' <div class="type-ind">共<i>'+item.fVidoeCount+'</i>部影片</div>'+
                            ' </div>'+
                            '   </a>';
                        });
                        $('#div_subjectall').html(_html);
                    }

                }
            }
        });
    }
</script>
<script type="text/javascript" src="/js/mobile2/js/base.js"></script>
</body>
</html>